#ifndef _UTILS_H
#define _UTILS_H
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#define CLEAN_MEM(mem, size) memset((void*)(mem), 0, size);

#ifdef  __cplusplus
extern "C"{
#endif

void dump_mem(uint8_t* mem, uint16_t length);
void dump_stream(FILE* stream, uint8_t* mem, uint16_t length);

#ifdef  __cplusplus
}
#endif

#endif
